package com.blog.model;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 测试实体类
 *
 * @author Joy
 * @date 2020-02-18
 */
public class TestDto implements Serializable {

    private static final long serialVersionUID = 3639729792692114553L;

    @NotNull
    private Integer campaignid;

    private String ip;

    private Long clicktime;

    @NotBlank
    private String imei;

    @NotBlank
    private String imp;

    public Integer getCampaignid() {
        return campaignid;
    }

    public void setCampaignid(Integer campaignid) {
        this.campaignid = campaignid;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getClicktime() {
        return clicktime;
    }

    public void setClicktime(Long clicktime) {
        this.clicktime = clicktime;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getImp() {
        return imp;
    }

    public void setImp(String imp) {
        this.imp = imp;
    }

    @Override
    public String toString() {
        return "TestDto{" +
            "campaignid=" + campaignid +
            ", ip='" + ip + '\'' +
            ", clicktime=" + clicktime +
            ", imei='" + imei + '\'' +
            ", imp='" + imp + '\'' +
            '}';
    }
}
